common: env: support sata device
authorPeng Fan <[email protected]>
Sun, 3 Apr 2016 13:52:13 +0000 (21:52 +0800)
committerTom Rini <[email protected]>
Mon, 18 Apr 2016 16:29:14 +0000 (12:29 -0400)
commit125d193c4f3895f772a3463996cc8a2554d0b36e
tree8c30898efcd7555953198a348f1afb5632937260
parent108f8418597350bd98357f25acaa8ab8a0435779
common: env: support sata device

Introduce env support for sata device.
1. Implement write_env/read_env/env_relocate_spec/saveenv/sata_get_env_dev
2. If want to enable this feature, define CONFIG_ENV_IS_IN_SATA, and
   define CONFIG_SYS_SATA_ENV_DEV or implement your own sata_get_ev_dev.

Signed-off-by: Peng Fan <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Stuart Longland <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Tom Rini <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
cmd/nvedit.c
common/Makefile
common/env_sata.c [new file with mode: 0644]